package com.xish.util.qiniu;


public class Image {

    private String urlSegment;
    private String imageSpec;
    private ImageType imageType;
    private boolean isPublic;

    public Image(String urlSegment, String imageSpec, ImageType imageType, boolean isPublic) {
        this.urlSegment = urlSegment;
        this.imageSpec = imageSpec;
        this.imageType = imageType;
        this.isPublic = isPublic;
    }

    public String getUrlSegment() {
        return urlSegment;
    }

    public String getImageSpec() {
        return imageSpec;
    }

    public ImageType getImageType() {
        return imageType;
    }

    public boolean isPublic() {
        return isPublic;
    }
}
